package com.disthen.message.core.util;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.util.ErrorHandler;

public class SimpleErrorHandler implements ErrorHandler {
	private static final Log logger = LogFactory.getLog(SimpleErrorHandler.class);
	@Override
	public void handleError(Throwable t) {
		logger.error("消息处理异常，该消息已被丢弃！", t);
	}

}
